//
//  ZJDealCell.m
//  这家测试项目
//
//  Created by IOS_DEVELOPER on 2017/7/10.
//  Copyright © 2017年 陈志凌. All rights reserved.
//

#import "ZJDealCell.h"

@implementation ZJDealCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

-(void)setModel:(ZJDealModel *)model{
    _model = model;
    [self.img sd_setImageWithURL:[NSURL URLWithString:_model.url?:@""] placeholderImage:[UIImage imageNamed:KUserHeadPhoto]];
    self.topTitle.text = _model.type;
    self.bottomTitle.text = _model.date;
    self.rightTitle.text = _model.trade_money;
}

@end
